home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2005 December
/
PCWorld_2005-12_cd.bin
/
software
/
vyzkuste
/
pspad
/
pspad433inst_cz.exe
/
{app}
/
Context
/
Java.DEF
< prev
next >
Wrap
Text File
|
2004-04-13
|
2KB
|
67 lines
; PSPad code template for Java
; Created by PSPad 14.7.2002
; Author: Fiala pspad@wo.cz
;-------------------------------------------------------------------------------
[import | Import balφku]
import java.|.*;
;-------------------------------------------------------------------------------
[class main | Java program - zßklad]
class | {
() {
}
public static void main(String[] args) {
}
}
;-------------------------------------------------------------------------------
[println | System.out.println]
System.out.println("|");
;-------------------------------------------------------------------------------
[for | for cyklus]
for(int i=0; i<|; i++) {}
;-------------------------------------------------------------------------------
[iterator | pr∙chod kolekce iterßtorem]
for(Iterator it = |.iterator(); it.hasNext();) {
() it.next()
}
;-------------------------------------------------------------------------------
[while | while cyklus]
while(|) {}
;-------------------------------------------------------------------------------
[do-while | do-while cyklus]
do {
|
} while();
;-------------------------------------------------------------------------------
[if-else | ·pln² podmi≥ujφcφ p°φkaz]
if(|) {
}
else {}
;-------------------------------------------------------------------------------
[() ? : | ternßrnφ operßtor]
(|) ? :
;-------------------------------------------------------------------------------
[switch | p°epφnaΦ]
switch(|) {
case :
;
break;
default :
;
}
;-------------------------------------------------------------------------------
[try | try-catch blok]
try {
|
}
catch(Exception exc) {
System.out.println("Unexpected exception");
exc.printStackTrace();
}
finally {}
;-------------------------------------------------------------------------------